package top.kaoshanji.p1ch11b;

import top.kaoshanji.p1ch11a.BenzModel;

import java.util.List;

/**
 * 代码清单-p1ch11b-104页a：奔驰车组装者
 * @author kaoshanji
 * ^_^
 * create time 2025/3/22 14:35
 */
public class BenzBuilder extends CarBuilder {

    private BenzModel benz = new BenzModel();

    @Override
    public void setSequence(List<String> sequence) {
        this.benz.setSequence(sequence);
    }

    @Override
    public BenzModel getCarModel() {
        return this.benz;
    }
}
